import requests


headers = {
    "Accept": "text/html, */*; q=0.01",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Cache-Control": "no-cache",
    "Connection": "keep-alive",
    "Pragma": "no-cache",
    "Referer": "https://search.suning.com/%E5%86%B0%E7%AE%B1/?safp=d488778a.homepagev8.126605238628.1&safpn=10001",
    "Sec-Fetch-Dest": "empty",
    "Sec-Fetch-Mode": "cors",
    "Sec-Fetch-Site": "same-origin",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",
    "X-Requested-With": "XMLHttpRequest",
    "sec-ch-ua": "\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\""
}
cookies = {
    "route": "94581d05b3dd6741d1a6bd9bde746d33",
    "sesab": "ACBACBEBAAEABB",
    "sesabv": "24%2C12%2C9%2C1%2C28%2C8%2C4%2C21%2C4%2C4%2C8%2C1%2C1%2C2",
    "tradeMA": "215",
    "totalProdQty": "0",
    "hm_guid": "1ba50a87-7349-415e-8eed-c62f0df514a2",
    "streetCode": "3710199",
    "ariaDefaultTheme": "null",
    "_df_ud": "58ba1a5f-5524-43f5-b56b-6bc890e3cad5",
    "_snvd": "1730459363433VBrRUE8rVrc",
    "_device_session_id": "p_7af7d229-60fa-46cd-a1d9-d61a5f50d55f",
    "cityId": "9173",
    "SN_CITY": "100_025_1000173_9173_01_11365_3_0",
    "districtId": "11365",
    "_snmc": "1",
    "_snsr": "direct%7Cdirect%7C%7C%7C",
    "authId": "si01bKbLo9JFJF5L00rKvcW3IA3FMPgeX5",
    "secureToken": "228910A34CF1C680997F0C62E4BDF6E7",
    "ssotbrd": "TGTCnRkDtRldVUwDsI8pDFy00hkG36RinZF7TRkaHm1",
    "_snzwt": "THOWGM19304244faaY3B83f48",
    "_snma": "1%7C173011776041766309%7C1730117760417%7C1730941308042%7C1730941392114%7C49%7C18",
    "_snmp": "173094139154125858",
    "_snmb": "173094120437598972%7C1730941392197%7C1730941392121%7C3",
    "_snms": "173094139219862526",
    "token": "c860c940-c0cc-48e9-881d-cad042876422"
}
url = "https://search.suning.com/emall/searchV1Product.do"
params = {
    "keyword": "冰箱",
    "ci": "244005",
    "pg": "01",
    "yjhx": "",
    "sxzy": "",
    "jnbt": "",
    "cp": "0",
    "il": "0",
    "st": "0",
    "iy": "0",
    "isDoufu": "1",
    "isNoResult": "0",
    "n": "1",
    "sesab": "ACBACBEBAAEABB",
    "id": "IDENTIFYING",
    "cc": "025",
    "paging": "2",
    "sub": "0",
    "jzq": "3841"
}
response = requests.get(url, headers=headers, cookies=cookies, params=params)

print(response.text)
print(response)